package com.gollum.system.domain.response;

import com.gollum.common.domain.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 部门响应对象
 *
 * @author Herther
 * @version 1.0.0
 * @createTime 2022年08月27日 21:35:00
 */
@Getter
@Setter
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "部门vo对象")
public class SysDeptResponse extends BaseResponse {

    private static final long serialVersionUID = 1L;

    /** 父部门ID */
    @ApiModelProperty(value = "父部门ID",name = "parentId")
    private Long parentId;

    /** 祖级列表 */
    @ApiModelProperty(value = "祖级列表",name = "ancestors")
    private String ancestors;

    /** 部门名称 */
    @ApiModelProperty(value = "部门名称",name = "deptName")
    private String deptName;

    /** 显示顺序 */
    @ApiModelProperty(value = "显示顺序",name = "orderNum")
    private Integer orderNum;

    /** 负责人 */
    @ApiModelProperty(value = "负责人",name = "leader")
    private String leader;

    /** 联系电话 */
    @ApiModelProperty(value = "联系电话",name = "phone")
    private String phone;

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱",name = "email")
    private String email;

    /** 部门状态:0正常,1停用 */
    @ApiModelProperty(value = "部门状态:0正常,1停用",name = "status")
    private String status;

    @Override
    public Long getId() {
        return super.getId();
    }

    @Override
    public void setId(Long id) {
        super.setId(id);
    }
}
